<template>
	<div class="box">
		<h2>我是films组件.....</h2>
		<!-- 预留给二级组件的插槽 -->
		<router-view></router-view>
		
	</div>
</template>

<script>
//引入发送请求到  卖座的  方法
import getdata from "@/utils/getdata.js"

export default{
	created () {
	  // 请求数据
	  getdata.get("/gateway?type=2&cityId=410100&k=341707", {
	    headers:{
	      'X-Host': 'mall.cfg.common-banner'
	    }
	  }).then(res => {
	    console.log(res)
	  })
	}
}
</script>

<style>
</style>
